﻿@model  MovieModel

@section Scripts {
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Views/Movie/CreateUpdateMovie.js")" type="text/javascript"></script>
}


@{
    ViewBag.Title = "Edit";
}
<h2>Edit</h2>
@using (Html.BeginForm()){
    <fieldset>
        <legend>@Model.Title</legend>
    @Html.Partial("_CreateUpdateMovie", Model)
        
    <p>
        <input type="submit" value="Save" />
    </p>
    </fieldset>
}

<div>
   <a href="#" onclick="history.back(); return false;">Back to List</a>
</div>

